package com.union.utils;

/**
 * Created by Administrator on 2016/12/7.
 */
public class CommonUtils {
    public static String getGenderByType(String type){
        String gender = "男";
        switch (type){
            case "1":
                gender = "男";
                break;
            case "2":
                gender = "女";
                break;
        }
        return gender;
    }

    public static String getGenderByTypeSelect(String content){
        String gender = "男";
        switch (content){
            case "男":
                gender = "1";
                break;
            case "女":
                gender = "2";
                break;
        }
        return gender;
    }
}
